<?php if (!defined('THINK_PATH')) exit(); if($list == null): ?><h4 style="text-align:center">该客户没有添加基本资料，<span class="label label-primary">点击添加</span></h4>
<?php else: ?>
<table class="table table-bordered customer-info" style="margin-bottom:0px">
	<tr>
		<td>公司名称</td><td><input type="text" class="form-control" name="company" value="<?php echo ($list["company"]); ?>"/></td>
		<td>男</td><td><input type="radio" style="margin: auto;" name="gender" value="1" id="man" class="form-control" <?php if($list["gender"] == '1'): ?>checked<?php else: endif; ?> /></td>
		<td>女</td><td><input type="radio" name="gender" style="margin: auto;" value="0" id="woman" class="form-control" <?php if($list["gender"] == '0'): ?>checked<?php else: endif; ?> /></td>
	</tr>
	<tr><td>公司地址</td><td colspan="5"><input type="text" class="form-control" name="company_address" value="<?php echo ($list["company_address"]); ?>"/></td></tr>
	<tr><td>部门</td><td colspan="5"><input type="text" class="form-control" name="department" value="<?php echo ($list["department"]); ?>"/></td></tr>
	<tr><td>手机</td><td colspan="5"><input type="text" class="form-control" name="mobile" value="<?php echo ($list["mobile"]); ?>"/></td></tr>
	<tr><td>QQ</td><td colspan="5"><input type="text" class="form-control" name="qq" value="<?php echo ($list["qq"]); ?>"/></td></tr>
	<tr><td>邮箱</td><td colspan="5"><input type="text" class="form-control" name="email" value="<?php echo ($list["email"]); ?>"/></td></tr>
	<tr><td>备注</td><td colspan="5"><textarea name="remark" class="form-control"><?php echo ($list["remark"]); ?></textarea></td></tr>
</table>
<script>
	$(".customer-info input,.customer-info textarea").attr("disabled",true);
</script><?php endif; ?>